From db8a81b046c1128ade770e08273ec4720c457930 Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Tue, 25 Jul 2017 13:45:32 +0200 Subject: [PATCH] Fix cross-compiling declarations Multi-Arch: foreign is for shared-data packages, see https://wiki.debian.org/Multiarch/Implementation#Multi-Arch:_foreign_support_packages Multi-Arch: allowed is for compilers and things, e.g. see python3 and make --- debian/changelog | 6 ++++++ debian/control | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8c4307a92..86f32eb19 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cargo (0.17.0-3) UNRELEASED; urgency=medium + + * Fix cross-compiling declarations, Multi-Arch: foreign => allowed + + -- Ximin Luo Wed, 21 Jun 2017 15:30:28 +0200 + cargo (0.17.0-2) unstable; urgency=medium * Re-embed libgit2 0.25.1 due to the Debian testing freeze. It will be diff --git a/debian/control b/debian/control index 4f33b2050..4d25dd1b1 100644 --- a/debian/control +++ b/debian/control @@ -5,14 +5,14 @@ Uploaders: Luca Bruno , Angus Lees , Ximin Luo Priority: extra +# :native annotations are to support cross-compiling, see README.Debian of rustc Build-Depends: debhelper (>= 9.20141010), dpkg-dev (>= 1.17.14), - rustc (>= 1.16), -# Direct dependency needed for cross-compiling + python-dulwich , + python-pytoml , + cargo:native (>= 0.17.0) , + rustc:native (>= 1.16), libstd-rust-dev (>= 1.16), - cargo (>= 0.13.0) , - python-dulwich , - python-pytoml , pkg-config, cmake, ca-certificates, @@ -31,7 +31,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-rust/cargo.git Package: cargo Architecture: any -Multi-Arch: foreign +Multi-Arch: allowed Depends: ${shlibs:Depends}, ${misc:Depends}, rustc (>= 1.1), binutils, -- 2.30.2